a=eval(input('请输入'))
for i in range(0,a):
    k='*'*i
    print(k.rjust(a,' '))
for j in range(a,0,-1):
    k='*'*j
    print(k.rjust(a,' '))